home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / x11 / rpg / crossfir.92 / crossfir / crossfire-0.92.5 / include / read.h < prev    next >
Text File  |  1996-07-24  |  3KB  |  187 lines

  1.  
  2. /* special structure, used only by art_name_array[] */
  3.  
  4. typedef struct namebytype {
  5.   char *name; /* generic name to call artifacts of this type */
  6.   int type;   /* matching type */
  7. } arttypename;
  8.  
  9.  
  10. /* these are needed for creation of a linked list of
  11.  * pointers to all (hostile) monster objects */
  12.  
  13. static int nrofmon=0;
  14. static objectlink *first_mon_info;
  15.  
  16.  
  17. /* this is needed to keep track of status of initialization
  18.  * of the message file */ 
  19. static int nrofmsg=0;
  20. static linked_char *first_msg;
  21.  
  22.  
  23. static uint32 spellpathdef[NRSPELLPATHS] = {
  24.   PATH_PROT,
  25.   PATH_FIRE,
  26.   PATH_FROST,
  27.   PATH_ELEC,
  28.   PATH_MISSILE,
  29.   PATH_SELF,
  30.   PATH_SUMMON,
  31.   PATH_ABJURE,
  32.   PATH_RESTORE,
  33.   PATH_DETONATE,
  34.   PATH_MIND,
  35.   PATH_CREATE,
  36.   PATH_TELE,
  37.   PATH_INFO,
  38.   PATH_TRANSMUTE,
  39.   PATH_TRANSFER,
  40.   PATH_TURNING,
  41.   PATH_WOUNDING,
  42.   PATH_DEATH,
  43.   PATH_LIGHT
  44. };
  45.  
  46. /* if it isnt listed here, then art_attr_msg will never generate
  47.  * a message for this type of artifact. -b.t. */
  48.  
  49. static arttypename art_name_array[] = {
  50.   {"Helmet", HELMET},
  51.   {"Amulet", AMULET},
  52.   {"Shield", SHIELD},
  53.   {"Bracers", BRACERS},
  54.   {"Boots", BOOTS},
  55.   {"Cloak", CLOAK},
  56.   {"Gloves", GLOVES},
  57.   {"Gridle", GIRDLE},
  58.   {"Ring", RING},
  59.   {"Horn", HORN},
  60.   {"Missile Weapon", BOW},
  61.   {"Missile", ARROW},
  62.   {"Hand Weapon", WEAPON},
  63.   {"Artifact", SKILL},
  64.   {"Food", FOOD},
  65.   {"Body Armour", ARMOUR}
  66. };
  67.  
  68. static char *light_book_name[] = {
  69.   "calendar",
  70.   "datebook",
  71.   "diary",
  72.   "guide",
  73.   "guidebook",
  74.   "handbook",
  75.   "ledger",
  76.   "manual",
  77.   "notes",
  78.   "notebook",
  79.   "octavo",
  80.   "pamphlet",
  81.   "practicum",
  82.   "script",
  83.   "transcript"
  84. };
  85.  
  86. static char *heavy_book_name[] = {
  87.   "catalog",
  88.   "compendium",
  89.   "encyclopedia",
  90.   "guide",
  91.   "grimore",
  92.   "grimorie",
  93.   "handbook",
  94.   "manual",
  95.   "opus",
  96.   "tome",
  97.   "treatise",
  98.   "volume",
  99.   "work"
  100. };
  101.  
  102. static char *book_author[] = {
  103.   "Abdulah",
  104.   "Alhezred",
  105.   "Arundel",
  106.   "Arvind",
  107.   "Aerlingas",
  108.   "Bacon",
  109.   "Baliqendii",
  110.   "Bosworth",
  111.   "Beathis",
  112.   "Bertil",
  113.   "Cauchy",
  114.   "Chakrabarti",
  115.   "Dirk",
  116.   "Djwimii",
  117.   "Fendris",
  118.   "Frank",
  119.   "Harlod",
  120.   "Havlor", /* ancient warrior scribe :) */
  121.   "Ichibod",
  122.   "Janus",
  123.   "June",
  124.   "Magnus",
  125.   "Magnuson",
  126.   "Nandii",
  127.   "Nitfederwall",
  128.   "Norris",
  129.   "Parael",
  130.   "Penhew",
  131.   "Sophia",
  132.   "Skilly",
  133.   "Tahir",
  134.   "Thockmorton",
  135.   "van der Waalis",
  136.   "van Helsing",
  137.   "van Pelt",
  138.   "Voormis",
  139.   "Xavier",
  140.   "Xeno",
  141.   "Zardoz",
  142.   "Zagy"
  143. };
  144.  
  145. static char *book_descrpt[] = {
  146.   "ancient",
  147.   "cryptic",
  148.   "cryptical",
  149.   "dusty",
  150.   "hiearchical",
  151.   "grizzled",
  152.   "gold-guilt",
  153.   "great",
  154.   "lost",
  155.   "magnificent",
  156.   "musty",
  157.   "mythical",
  158.   "mystical",
  159.   "rustic",
  160.   "stained",
  161.   "silvered",
  162.   "transcendental",
  163.   "weathered"
  164. };
  165.  
  166. static char *mage_book_name[] = { 
  167.   "magical compendium",
  168.   "grimore",
  169.   "grimorie",
  170.   "mystical manual",
  171.   "spellbook",
  172.   "spellbook",
  173.   "spellbook",
  174.   "spellbook",
  175.   "magical tome",
  176.   "wizard's treatise"
  177. };
  178.  
  179. static char *priest_book_name[] = {   
  180.   "eccumenical treatise", 
  181.   "hymnal",
  182.   "prayerbook",
  183.   "prayerbook",
  184.   "sacred text"
  185. };
  186.  
  187.